home *** CD-ROM | disk | FTP | other *** search
- The uploaded ZIP file represents an attempt to combine the power of
- the VBSQL SQL Server add-on from Microsoft and the GRID control elsewhere
- on the CompuServe VB forum. The app allows a user to select a table from
- a database/user/table browser format and select a subset of columns
- for query. The user can then construct a WHERE clause, an ORDER BY and
- perform BUFFERed queries of the result set.
-
- You will notice several Command-buttons and menu items which are
- present but either not functional or not enabled. That is because this
- is an early version after some 20 hours of effort. Much remains to be done.
- But it is a versatile query tool which has the seeds for reward.
-
- The included stored procedures (file SYSPROCS.SQL) should be installed
- by doing the CREATE PROCEDURE in the master database so that they are
- universally available. Otherwise, if a different LOGIN-ID or database
- is used at app start-up, the procedures are not found. Also, changing a
- database would produce the same result.
-
- Also, after installation, for each procedure you must
- GRANT EXECUTE ON <sp-name> TO PUBLIC
- (where <sp-name> is each stored procedure in turn) to make them
- generally accessible. The prefix 'sp_' must also be retained when the
- stored procedures are created.
-
- REQUIREMENTS:
- The program was, of course, developed with VB 1.0, on a 3COM network
- running with 1.6 Enhanced Workstation drivers. The machine is a Memorex
- Telex 386/20 running over MS-DOS 5.0 and Windows 3.0 (for the most part).
- Also included are several system procedures used to implement the SQL
- 'browse' of database objects. These have been tested with SQL Server 1.1,
- though I am comfortable they are compatible with possible future versions
- of SQL Server.
-
- For run-time, the program also requires MicroHelp's VBTOOLS run-time
- VBX, the CTLHWND.DLL and the GRID.ZIP, both contributed by Jonathan Zuck
- and User Friendly, Inc., and available elsewhere on this forum. All are
- products well-recommended and to be grateful for. The design-time versions
- will enable you to load the forms without error and query the control
- properties.
-
- Also required is the Microsoft VBSQL.VBX, a very versatile SQL Server
- add-on which has a very rich implementation of the DB-LIBRARY API.
- Unfortunately, I know of no seperate way to include the VBX solely as a
- run-time, so you must have it (and SQL Server, needless to say), in order
- to use this app.
-
- This app is offered to the public domain AS IS an without warranty,
- either express or implied, in the hope of encouraging the use of SQL Server
- and of providing a starting point for use of VB, the grid and SQL Server.
- Feedback/enhancements are encouraged.
-
- Future development of this specific version of the app and the upload
- thereof will be at the discretion of the company for which I work. I have
- gotten a sign-off on this and hope to contribute in the future.
-
- Bob Hyland
- Gilbert/Commonwealth, Inc.
- Reading PA
-
-
-
-
-